<?php

class Jd_pay_log_model extends MY_Model {


    public function __construct()
    {
        $this->modelename='Jd_pay_log_model';
        $this->tablename='pay_log';
        parent::__construct();
    }



    public function addpaylog($array){
        $array['addtime']=time();
        $array['log_type']=$array['log_type'];
        return  $r= $this->add($this->tablename,$array);
    }






}
